package cn.gzsxt.po;

import com.alibaba.fastjson.annotation.JSONField;



/**
 * 楼层表
 * 对应数据库表的楼层表
 */
public class Floor{
	private int id;
	@JSONField(name="name")
	private String floorname;
	private int build_id;
	transient private Double floorarea;
	public Floor(int id, String floorname, int build_id, Double floorarea) {
		super();
		this.id = id;
		this.floorname = floorname;
		this.build_id = build_id;
		this.floorarea = floorarea;
	}
	public Floor() {
		super();
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getFloorname() {
		return floorname;
	}
	public void setFloorname(String floorname) {
		this.floorname = floorname;
	}
	public int getBuild_id() {
		return build_id;
	}
	public void setBuild_id(int build_id) {
		this.build_id = build_id;
	}
	public Double getFloorarea() {
		return floorarea;
	}
	public void setFloorarea(Double floorarea) {
		this.floorarea = floorarea;
	}
	@Override
	public String toString() {
		return "Floor [id=" + id + ", floorname=" + floorname + ", build_id="
				+ build_id + ", floorarea=" + floorarea + "]";
	}

}
